//utils.js
var music={
		play_dede:function(){
			const innerAudioContext = uni.createInnerAudioContext();
			innerAudioContext.autoplay = true;
			innerAudioContext.src = 'http://attachment.0sm.com/node0/2023/03/8641157C12A7ACA1-3a3137d59dcf71d3.mp3';
			innerAudioContext.onPlay(() => {
		  	console.log('开始播放');
			}); 
			innerAudioContext.onError((res) => {
		  	console.log(res.errMsg);
		  	console.log(res.errCode);
		});
	},
}

module.exports = music;
